package com.Annotation;

public class TestException {

    public void throwExcepiton() throws Exception {
        throw  new Exception("eroor") ;
    }


    public static void main(String[] args){
        try{
            new TestException().throwExcepiton();
            System.out.print("end of call throwExcepiton");
        }catch (Throwable e){
            System.out.print("fyj");
        }
    }
}
